@import '~antd/es/style/themes/default.less';

html,
body,
#root {
  height: 100%;
}

.ant-layout-header {
  height: 48px !important;
  padding: 0 0 !important;
  line-height: 48px !important;
  background: #fff !important;
  box-shadow: rgb(240, 241, 242) 0px 2px 8px;
  background-color: #409eff !important;
}

.ant-layout-header a, h1, li[class~="ant-menu-item"], li[class~="ant-menu-submenu"] {
  color: #fff !important;
}

.ant-menu-submenu-title:hover {
  color: #fff !important;
}

.ant-menu-sub > .ant-menu-item:hover,
.ant-menu-sub > .ant-menu-item-active {
  color: #409eff !important;
}

.ant-menu-vertical > li {
  color:rgba(0, 0, 0, 0.65) !important;
}
.ant-spin-container li {
  color:rgba(0, 0, 0, 0.65) !important;
}

.ant-menu-horizontal > .ant-menu-item-selected {
  // border-bottom: 2px rgb(243,82,27) solid !important;
  // color: rgb(243,82,27) !important;
  border-bottom: 0px rgb(243,82,27) solid !important;
  // color: rgb(243,82,27) !important;
}

.ant-menu-submenu-title {
  padding: 0 10px !important;
}

.ant-menu-horizontal {
  border: 0px !important;
}

.ax-ant-spin-container .ant-spin-nested-loading {
  height: 229px;
  overflow: auto;
}

// .ant-spin-container {
//   padding-bottom: 15px;
// }
.colorWeak {
  filter: invert(80%);
}

.ant-layout {
  min-height: 100vh;
}

canvas {
  display: block;
}

body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

ul,
ol {
  list-style: none;
}

@media (max-width: @screen-xs) {
  .ant-table {
    width: 100%;
    overflow-x: auto;

    &-thead > tr,
    &-tbody > tr {
      > th,
      > td {
        white-space: pre;

        > span {
          display: block;
        }
      }
    }
  }
}

.ax-table-row-red {
  color: red;
}

.ant-pro-sider-menu-logo h1 {
  font-size: 17px !important;
}
.ant-pro-sider-menu-logo a {
  // pointer-events: none;
  // cursor: default;
}
.ant-pro-sider-menu-logo {
  // cursor:default !important;
}

// .ant-menu-dark {
//   background-color: #fff !important;
// }

.ax-btn-color1 {
  color: #fff !important;
  background-color: rgb(54, 123, 188) !important;
  border-color: rgb(54, 123, 188) !important;
}

.ax-btn-color2 {
  color: #fff !important;
  background-color: rgb(196, 61, 100) !important;
  border-color: rgb(196, 61, 100) !important;
}

.ax-btn-color3 {
  color: #fff !important;
  background-color: rgb(249, 162, 31) !important;
  border-color: rgb(249, 162, 31) !important;
}

.ax-btn-color4 {
  color: #fff !important;
  background-color: rgb(172, 96, 185) !important;
  border-color: rgb(172, 96, 185) !important;
}

.ax-btn-color5 {
  color: #fff !important;
  background-color: rgb(97, 171, 49) !important;
  border-color: rgb(97, 171, 49) !important;
}

.ax-btn-cancel {
  // color: #fff !important;
  // background-color :rgb(97, 171, 49) !important;
  // border-color: rgb(97, 171, 49) !important;
}

.ax-table-row-backgroun-color1 {
  background-color: #f6fbf3 !important
}

a[href="https://froala.com/wysiwyg-editor"], a[href="https://www.froala.com/wysiwyg-editor?k=u"] {
  display: none !important;
  position: absolute;
  top: -99999999px;
 }
 
 .ax-loading {
  position: absolute;
  top: -15px;
  left: 0;
  z-index: 9999;
  width: 100%;
  height: 100%;
  margin: 20px 0;
  margin-bottom: 20px;
  padding-top: 110px;
  text-align: center;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 4px;
}

.ant-menu-item {
  padding: 0 6px!important;
}

.ant-menu-item .anticon, .ant-menu-submenu-title .anticon {
  margin-right: 4px!important;
}

// .ant-table-row-cell-break-word {
//   padding-left: 0!important;
//   padding-right: 0!important;
// }

.ent-member-card__info {
  height: 100% !important;
}

.ax-user {
    border-bottom-color:#409eff;
    border-top-color:#409eff;
    border-right-color:#409eff;
    border-left-color:#409eff;
    color:#409eff;
}